package com.hjcloud.feignmodulemysql.controller;

import com.hjcloud.feignmodulemysql.service.GatewayInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: IceZhang
 * @Date: 2018/8/3 15:16
 * @Description:
 */
@RestController
@RequestMapping("/api/gateway")
public class GatewayInfoController {

    @Autowired
    GatewayInfoService gatewayInfoService;

    @RequestMapping(value = "/test/page",method = RequestMethod.GET)
    public String gatewayInfo(){
        return gatewayInfoService.gateWayInfoPage();
    }




}